package com.jiazhong.shuzu;

public class Demo06 {
    public static void main(String[] args) {
        int a[]={213,123,435,321,432,512};
        int sum=0;
        for (int i=0;i<a.length;i++){
            sum+=a[i];
        }
        System.out.println("sum:"+sum);
    }
}
